package com.maxlen.coupon.feign;

import com.maxlen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("store-member")
public interface MemberFeignService {

    /**
     * 远程调用：获取所有的会员id和会员名称
     * @return
     */
    @GetMapping("/member/member/getMemberByCouponPublish")
    public R getMemberByCouponPublish();

}
